//
//  BIZConsultAnswer0Cell.m
//  biz
//
//  Created by 边文辉 on 2017/3/22.
//  Copyright © 2017年 jieshuibao. All rights reserved.
//

#import "BIZConsultAnswererCell.h"
#import "BIZConsultAModel.h"

@interface BIZConsultAnswererCell ()
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property (weak, nonatomic) IBOutlet UILabel *compLabel;
@property (weak, nonatomic) IBOutlet UILabel *positionLabel;
@property (weak, nonatomic) IBOutlet UIImageView *headImageVIew;


@end

@implementation BIZConsultAnswererCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setModel:(BIZConsultAModel *)model
{
    _model = [model copy];
    
    _nameLabel.text = _model.cname;
    _compLabel.text = _model.fname;
    _positionLabel.text = _model.position;
    [SDWebImageTool imageView:self.headImageVIew imageName:model.headImg placeHolder:@"default-head" showProgress:NO];
}
@end
